package com.szbmyoubao.app.bean.response


import android.os.Parcelable
import androidx.annotation.Keep
import kotlinx.parcelize.Parcelize

@Keep
data class LoginResponse(
    val memberInfo: MemberInfo?,
    val token: String?
)

@Keep
@Parcelize
data class MemberInfo(
    val avatar: String?,
    val bindConsultant: Boolean?,
    val bindOrg: Boolean?,
    val integral: String?,
    val inviteCode: String?,
    val nickname: String?,
    val phone: String?,
    val rootContractStr: String?,
    val uid: Int?,
    /**
     * 用户类型,NORMAL:普通用户,VIP:普通会员,SVIP:签约会员,CONSULTANT:顾问，ORG:机构
     */
    val userType: String?,

    val token: String?,
    /**
     * 会员过期时间
     *
     */
    val identityExpireTime: String?,
    val contractJson: ContractJson?
) : Parcelable

@Keep
@Parcelize
data class ContractJson(val wxAccount: String?, val qrUrl: String?, val avatarUrl: String) : Parcelable